//
//  SSNormalSectionHeader2.swift
//  拾舍清洁
//
//  Created by sky.wei on 2023/6/6.
//

import UIKit

class SSNormalSectionHeader2: UIView {

    @IBOutlet weak var titleLab: UILabel!
    
    @IBOutlet weak var describeLab: UILabel!
    
    @IBOutlet weak var imageV: UIImageView!
    
    class func headerView()->SSNormalSectionHeader2{
        return Bundle.main.loadNibNamed("SSNormalSectionHeader2", owner: nil, options: nil)?.last as! SSNormalSectionHeader2
    }
    
    var normal: SSNormal = SSNormal() {
        didSet {
            titleLab.text = normal.title
            describeLab.text = normal.describe
            imageV.setImage(with: normal.imgUrl)
            
        }
    }
}
